#{extends 'main.html' /}
#{if user?.id}
	#{set title:'编辑用户' /}
#{/if}
#{else}
	#{set title:'新用户注册' /}
#{/else}

#{include 'Application/error.html'/}

<div>Users/edit.html</div>
<div>
	<form action="@{users.save()}" method="post">
		<div>账号:<input type="text" name="user.username" id="user.username"/></div>
		<div>密码:<input type="password" name="user.password" id="user.password"/></div>
		<div>确认密码:<input type="password" name="user.passwordConfirmation" id="user.passwordConfirmation"/></div>
		<input type="submit" value="提交申请"/>
	</form>
</div>